package com.fowo.api.model.bd;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import javax.validation.constraints.*;
import lombok.Data;

/** 会计月份 导入导出辅助模型 */
@Data
public class BdAccperiodmonthExcelPo {

  @Size(max = 50, message = "名称长度不能超过20")
  @ExcelProperty(value = "名称")
  private String name;

  @ExcelProperty(value = "是否当前会计期")
  private String isCurrentAccperiod;

  @Size(max = 50, message = "年月组合信息长度不能超过20")
  @ExcelProperty(value = "年月组合信息")
  private String yearMonth;

  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "结束日期")
  private java.util.Date endDate;

  @DateTimeFormat("yyyy年MM月dd日")
  @ExcelProperty(value = "开始日期")
  private java.util.Date beginDate;

  @Size(max = 50, message = "会计月份长度不能超过20")
  @ExcelProperty(value = "会计月份")
  private String accperiodMonth;
}
